//
//  SearchCollectionViewCell.m
//  
//
//  Created by 郭明皓 on 15/11/2.
//
//

#import "SearchCollectionViewCell.h"
#import "DKNightVersion.h"
@implementation SearchCollectionViewCell
- (void)dealloc
{
    [_cityName release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
                
        self.cityName = [[UILabel alloc]init];
        [self.contentView addSubview:self.cityName];
        [self.cityName release];
        self.cityName.backgroundColor = [UIColor whiteColor];
        self.cityName.textColor = [UIColor blackColor];
        self.cityName.textAlignment = NSTextAlignmentCenter;
        self.cityName.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height);
        self.cityName.textColor = [UIColor darkGrayColor];
        self.cityName.layer.borderColor = [UIColor darkGrayColor].CGColor;
        self.cityName.layer.borderWidth = 1;
        
    }
    return self;
}
@end
